package com.iraeta.dao.main;

import com.iraeta.entity.main.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PageDao {
    int insert(Page record);
    int updateByPrimaryKey(Page record);
    int deleteByPrimaryKey(Integer id);
    Page selectByPrimaryKey(Integer id);
    List<Page> selectByPageName(@Param("pageName") String pageName);
}